package com.qmds.userserver.user.controller;



import com.qmds.common.core.vo.R;
import com.qmds.userserver.user.service.SmsLogService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 短信发送表(SmsLog)表控制层
 *
 * @author makejava
 * @since 2024-08-12 14:14:33
 */
@RestController
@RequestMapping("/sms")
public class SmsLogController {
    /**
     * 服务对象
     */
    @Resource
    private SmsLogService service;
    @GetMapping("all")
    public R all(String phone){
        return service.queryByPhone(phone);
    }

}

